package com.xiyu.service.errorCode.material;

import com.xiyu.service.framework.exception.ErrorCode;

/**
* Inventory 错误码枚举类
*
* Inventory 盘点单管理，使用 1009008000段
*/
public interface InventoryErrorCode {
    Integer ERROR_CODE_START_CODE = 1009008000;

    ErrorCode MATERIAL_INVENTORY_NOT_EXIST = new ErrorCode(ERROR_CODE_START_CODE, "物资盘点单不存在");
    ErrorCode MATERIAL_INVENTORY_DETAIL_NOT_EXIST = new ErrorCode(ERROR_CODE_START_CODE + 1, "物资盘点明细不存在");
    ErrorCode MATERIAL_INVENTORY_NOT_PENDING_REVIEW = new ErrorCode(ERROR_CODE_START_CODE + 2, "盘点单状态不是待审核");
    ErrorCode MATERIAL_INVENTORY_NOT_PENDING_INVENTORY = new ErrorCode(ERROR_CODE_START_CODE + 3, "盘点单状态不是待盘点");
    ErrorCode MATERIAL_INVENTORY_DETAIL_NOT_EMPTY = new ErrorCode(ERROR_CODE_START_CODE + 4, "盘点单明细至少有一条");
}